<?php
if($p_data){
    if(!empty($p_data['password'])) $session->user()->setUserPassword($p_data["password"]);
    $session->user()->setUserName($p_data["name"]); 
}


$smarty->assign("user",$session->user()->getUserInfo());
return $smarty->fetch('config.tpl');
?>
